<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">


<% Html.BeginForm(); %>

<fieldset>
    <legend><%= Html.ThemeImage("register.png") %> Register</legend>
    <p>
        <%= Html.ValidationSummary() %>
    </p>
    
        <dl class="form">
            <dt>Username</dt>
            <dd>
                 <%= Html.TextBox("Username") %>
                <label><%= mesoBoard.Services.SiteConfig.UsernameMin.Value %> - <%= mesoBoard.Services.SiteConfig.UsernameMax.Value%> characters</label>
            </dd>
            
            <dt>Email</dt>
            <dd>
                <%= Html.TextBox("Email") %>
                <label>for account activation</label>
            </dd>
            
            <dt>Password</dt>
            <dd>
                <%= Html.Password("Pass") %>
                <label>min. <%= mesoBoard.Services.SiteConfig.PasswordMin.Value%> characters</label>
            </dd>
            
            <dt>Confirm Password</dt>
            <dd>
                <%= Html.Password("ConfirmPass") %>
            </dd>
            
            <dt>Image Verification</dt>
            <dd>
                 <%= Html.Captcha("myCaptcha") %>
                 <br /><%= Html.TextBox("Captcha")%> 
            </dd>
            
            <dt>Terms and Conditions</dt>
            <dd>
                <%= Html.CheckBox("Terms") %> 
                <label for="Terms" class="inline"> I agree to abide by the <%= Html.ActionLink("terms and conditions", "Terms", "Members") %> 
                of <%=  mesoBoard.Services.SiteConfig.BoardName.Value%></label>
            </dd>
            
            <dt>&nbsp;</dt>
            <dd>
                <input type="submit" value="Register" />
            </dd>
        </dl>    
</fieldset>

<% Html.EndForm(); %>

</asp:Content>
